package com.lwp.example.tomcattest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * HiController
 *
 * @author lanwenping
 * @version 1.0
 * @date 2020/5/29 13:11
 */
@RestController
public class HiController {

    @RequestMapping("/hi")
    public String hi(String name) {
        return String.format("hello world %s", name);
    }
}
